﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core.Logger
{
    /// <summary>
    /// Consume event from FileSystemEventDispatcher.
    /// </summary>
    public interface IFileSystemListener : 
        IEventListener<FileSystemEventArgsExA> 
    {
        /// <summary>
        /// Specify what to listen. (use .* to listen everything)
        /// Only events with path that match the RegexPatterns will dispatch to this listener.
        /// </summary>
        string[] ListenPatterns { get; }

        /// <summary>
        /// Specify null to listen from all listers.
        /// Otherwise, set a list of listerKey to listen from these listers.
        /// </summary>
        string[] ListenListers { get; }
        
    }
}
